package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.dao.PubDevParamDao;
import com.leesche.zcsp.node.web.model.PubDevParam;
import com.leesche.zcsp.node.web.model.PubDevParamCriteria;
import com.leesche.zcsp.node.web.service.PubDevParamService;
import com.leesche.zcsp.node.web.service.impl.data.read.PubDevParamDto;
import com.leesche.zcsp.node.web.service.impl.data.read.QueryPubDevParamCondition;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Administrator on 2016-11-16.
 */
@Service
@Transactional
public class PubDevParamServiceImpl extends
		BaseServiceImpl<PubDevParam,PubDevParamCriteria,PubDevParamDto,QueryPubDevParamCondition,Long>
        implements PubDevParamService{
    @Autowired
    private PubDevParamDao pubDevParamDao;

    @Autowired
    public void setBaseDao(PubDevParamDao pubDevParamDao) {
        super.setBaseDao(pubDevParamDao);
    }

    @Override
    public Integer deleteDevParam(QueryPubDevParamCondition condition) {
        return pubDevParamDao.deleteDevParam(condition);
    }
}
